package com.gy.yemall.yemallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gy.common.utils.PageUtils;
import com.gy.yemall.yemallproduct.entity.CategoryEntity;
import com.gy.yemall.yemallproduct.entity.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ye
 * @email 2900801226@qq.com
 * @date 2021-09-30 16:28:53
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

    Long[] getCatelogPathById(Long catelogId);

    void updateCategoryAndC_B_Relation(CategoryEntity category);

    List<CategoryEntity> getOneTypeCategory();

    Map<String, List<Catelog2Vo>> getCategory2And3();
}

